]> git.saurik.com Git - apple/security.git/blobdiff - Keychain Circle Notification/NSArray+mapWithBlock.m
Security-57031.1.35.tar.gz
[apple/security.git] / Keychain Circle Notification / NSArray+mapWithBlock.m
diff --git a/Keychain Circle Notification/NSArray+mapWithBlock.m b/Keychain Circle Notification/NSArray+mapWithBlock.m
deleted file mode 100644 (file)
index 0ec2e6d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-//  NSArray+mapWithBlock.m
-//  Security
-//
-//  Created by J Osborne on 2/26/13.
-//
-//
-
-#import "NSArray+mapWithBlock.h"
-
-@implementation NSArray (mapWithBlock)
-
--(NSArray*)mapWithBlock:(mapBlock)block
-{
-       NSMutableArray *mapped = [[NSMutableArray alloc] initWithCapacity:self.count];
-       
-       for (id obj in self) {
-               [mapped addObject:block(obj)];
-       }
-       
-       return [mapped copy];
-}
-
-@end